package com.easy.frame.common.process.define.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.easy.frame.base.api.pojo.BasePO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 流程运行回复表
 *
 * @author zzf
 * @since 2019-04-12
 */
@Getter
@Setter
@TableName("pub_process_run_detail")
@ApiModel(value = "PubProcessRunDetail对象", description = "流程运行回复表")
public class PubProcessExecuteDetail extends BasePO {


    @ApiModelProperty("主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("流程运行id")
    private Integer processRunId;

    @ApiModelProperty("流程运行节点用户表id")
    private Integer processRunUserId;

    @ApiModelProperty("操作类型 1：通过 2：不通过")
    private Integer operationStatus;

    @ApiModelProperty("删除状态 [0未删除1已删除]")
    private Integer deleted;

    @ApiModelProperty("描述")
    private String description;

    @ApiModelProperty("回复人id")
    private Integer replyUserId;

    @ApiModelProperty("回复时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
    private Date replyTime;

}
